import type { App } from 'vue';
import { setupIcons } from '@/plugins/icons.ts';
import { setupGlobCom } from '@/plugins/components.ts';
import { setupPrototype } from '@/plugins/prototype.ts';

export default {
  install(app: App) {
    // 全局自定义组件
    setupGlobCom(app);
    // Element-plus图标
    setupIcons(app);
    // 注册全局方法
    setupPrototype(app);
  }
}
